﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LongNet.Config
{
    /// <summary>
    /// Represents all the permissions of user.
    /// </summary>
    [Flags]
    [Serializable]
    public enum UserPermissions
    {
        /// <summary>
        /// 没权限
        /// No Permissions.
        /// </summary>
        None = 0,

        /// <summary>
        /// 管理用户
        /// The permission to manage user.
        /// </summary>
        ManageUser = 0x01,

        /// <summary>
        /// 所有权限
        /// All permissions.
        /// </summary>
        All = UserPermissions.ManageUser 
    }
}
